package com.hkx.smipleemps.dao;

import com.hkx.smipleemps.common.domain.Employee;
import com.hkx.smipleemps.common.utils.PageInfo;

import java.util.List;

public interface EmployeeDao {
    public void  addEmployee(Employee employee);

    List<Employee> selectEmployees();

    PageInfo<Employee> selectEmployeesPage(int pageNo, int pageSize);

    void deleteEmployee(int id);

    Employee selectEmployeeById(int id);
}
